import java.math.BigDecimal;

public enum RoundMode {

  Up(1, BigDecimal.ROUND_UP),
  Down(2, BigDecimal.ROUND_DOWN),
  Ceiling(3, BigDecimal.ROUND_CEILING),
  Floor(4, BigDecimal.ROUND_FLOOR),
  HalfUp(5, BigDecimal.ROUND_HALF_UP),
  HalfDown(6, BigDecimal.ROUND_HALF_DOWN),
  HalfEven(7, BigDecimal.ROUND_HALF_EVEN),
  ;

  RoundMode (int cval, int jval) {
    c = cval;
    j = jval;
  }

  public int c, j;
}
